package com.liouwb.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liouwb
 */
@RestController
@RequestMapping("provider")
public class ProviderController {


    @GetMapping("getProvider")
    public String getProvider() {
        return "get provider-1";
    }


    @GetMapping("getProviderHystrix")
    public String getProviderHystrix() {
        return "get getProviderHystrix";
    }

}
